﻿using System.Xml;
using System.IO;

namespace tomvangaever.library.XML
{
    public static class XmlHelper
    {
        public static string GetStringFile(string strXMLFile)
        {
            XmlDocument xmlDoc = new XmlDocument();
            xmlDoc.Load(strXMLFile);
            StringWriter sw = new StringWriter();
            XmlTextWriter xw = new XmlTextWriter(sw);
            xmlDoc.WriteTo(xw);
            return sw.ToString();
        }
    }
}
